package com.lc.recovery.http.request;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;
import com.lc.recovery.bean.RecoveryBean;

import java.util.List;

public class StorageInApi implements IRequestApi , IRequestType {


    private  String	worker_id;
    private  String	storager_id;

    private  String	descript;
    private List<RecoveryBean> shops;
    public StorageInApi setShops(List shops) {
        this.shops = shops;
        return this;
    }

    public StorageInApi setWorker_id(String worker_id) {
        this.worker_id = worker_id;
        return this;
    }

    public StorageInApi setStorager_id(String storager_id) {
        this.storager_id = storager_id;
        return this;
    }



    public StorageInApi setDescript(String descript) {
        this.descript = descript;
        return this;
    }

    @Override
    public String getApi() {
        return "storage_in";
    }

    @Override
    public BodyType getType() {
        return BodyType.JSON;
    }
}
